WpAssetCleanUp\Misc D

Total Complexity 410
Dependencies 8
Dependents 33
Total lines 2,085
Lines of code 1,163
Logical lines of code 664
Comment lines 495
Methods 70
Properties 3

Methods 70

Method Rating Maintainability Complexity Lines of code
getTotalBulkUnloadsFor()
C
41 25 50
getWpCoreCssHandlesFromWpIncludesBlocks()
B
42 18 51
maybeIsInactiveAsset()
B
40 16 59
fetchActiveFreePluginsIconsFromWordPressOrg()
B
38 15 66
getValueFromTagViaRegEx()
B
43 16 47
isHomePage()
A
51 17 25
getValueFromTag()
A
45 14 43
getSizeOfDirectoryRootFiles()
A
48 13 31
formatBytes()
A
46 11 35
getTotalUnloadedAssets()
A
45 10 41
handleHasAtLeastOneRule()
A
53 10 21
getVar()
A
61 10 12
scriptExecTimer()
A
53 8 21
purifyRegexValue()
A
55 8 19
isValidRequest()
S
63 9 9
getPageUrl()
S
50 7 29
getLocalSrc()
S
52 7 24
triggerFrontendOptimization()
S
59 7 15
isWpRocketMinifyHtmlEnabled()
S
57 7 15
isElementorMaintenanceModeOnForCurrentAdmin()
S
57 7 15
arrayUnsetRecursive()
S
58 7 15
filterPostTypesList()
S
59 7 14
filterCustomPostTypesList()
S
58 7 14
getAllActivePluginsIcons()
S
50 6 27
isHttpsSecure()
S
63 7 10
getActivePlugins()
S
58 6 15
isRootUrl()
S
58 6 14
isElementorMaintenanceModeOn()
S
61 6 11
getActiveThemes()
S
53 5 22
getWpRootDirPath()
S
60 5 13
filterCustomTaxonomyList()
S
62 5 11
getStyleTypeAttribute()
S
64 5 9
doingCron()
S
65 5 9
getScriptTypeAttribute()
S
64 5 9
getCurrentPageUrl()
S
65 5 7
getThemeIcon()
S
58 4 15
rmDir()
S
61 4 13
isPluginActive()
S
60 4 13
assetFromHrefToRelativeUri()
S
59 4 13
preloadAsyncCssFallbackOutput()
S
56 3 27
addUpdateOption()
S
61 4 12
getActiveCachePlugins()
S
63 4 11
wpJsonFileDecode()
S
53 3 25
isCoreFile()
S
57 3 16
isDOMDocumentOn()
S
77 4 3
w3TotalCacheFlushObjectCache()
S
68 4 7
getCachedActiveFreePluginsIcons()
S
64 4 10
isClassicEditorUsed()
S
63 4 10
doNotApplyOptimizationOnPage()
S
59 3 14
filterList()
S
69 3 6
getPluginsDir()
S
63 3 10
_filterPageUrl()
S
69 3 6
endsWith()
S
62 2 12
printTimingFor()
S
58 1 16
getTimingValues()
S
67 2 6
arrayKeyFirst()
S
68 2 7
replaceRelPluginPath()
S
65 2 9
jsonLastError()
S
71 2 6
getW3tcMasterConfig()
S
64 2 10
getShowOnFront()
S
71 2 6
isBlogPage()
S
78 2 3
isValidPostType()
S
64 2 9
getThemesDirRel()
S
71 1 5
extractBetween()
S
66 1 8
getOuterHTML()
S
72 1 5
isWpVersionAtLeast()
S
75 1 4
initDOMDocument()
S
73 1 5
getPageUri()
S
68 1 6
stripIrrelevantHtmlTags()
S
78 1 3
sanitizeValueForHtmlAttr()
S
73 1 4